package com.whfc.fmam.entity.qo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author sun_guodong
 * @description
 * @date 2019-11-15
 */
@Data
public class WeighRoomEditQO implements Serializable {
    @NotNull
    private Integer id;
    @NotEmpty
    private String name;
    @NotEmpty
    @Length(max = 4)
    private String code;
    @NotNull
    private Integer deptId;
}
